Chapter 3

The Interpreter  
          Environment

 t Modes of Execution*105*
 t Windows
 t Menus
 t Runtime Interruption
 t Apple Events

This chapter explains the interpreter environment, including its relevant windows and menus. The menus are applicable only to a selected element in the active window.

t
Modes of Execution*105*

The Prograph environment provides extensive debugging facilities. It allows you to run a program in either interrupted or uninterrupted mode. In either mode, icons for all cases under execution are shown in the Stack Window if it is open.  

In the interrupted mode, the user sets the level of debugging required as follows:  

o
display of case windows of all methods during execution:

  • when Trace in the Exec menu is checked, or

  • when Step/Show is turned on for all methods.*105*

o
display of case windows of selected methods only:*106*

  • when a breakpoint is set in a case window, or

  • when Step/Show is turned on for only some methods. 
_________________________________________________________
NOTE:  Display of case windows in interrupted mode does not take place for  methods that have been made Compact or Execute Only.
---------------------------------------------------------

In the uninterrupted mode:*106*

o
A program is executed without any user intervention, except for dialogs that require user interaction.  

o
When Debug in the Exec menu is not checked, no execution case window is displayed.  This is in addition to the normal closure of all the Editor windows when an application is executed.*106*